package com.yun.platform.iot.controller;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.platform.config.BaseCURDController;
import com.yun.platform.iot.entity.AutoMain;
import com.yun.platform.iot.service.AutoMainService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Hanson  2022-11-24
 *
 * @Desciprtion:  自动化表相关接口
 */
@RestController
@RequestMapping("/iot/AutoMain/")
@Slf4j
@Api(value = "自动化表相关接口", tags = {"自动化表操作接口"})
public class AutoMainController extends BaseCURDController<AutoMain> {

    @Autowired
    private AutoMainService autoMainService;

    @Override
    public ServiceImpl getService() {
        return autoMainService;
    }


    
}